home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 64
/
Volume 64 - JOGO DISK .iso
/
Games
/
the_best_every_day.swf
/
scripts
/
__Packages
/
MCObstacles.as
< prev
next >
Wrap
Text File
|
2008-04-10
|
684b
|
37 lines
class MCObstacles extends MovieClip
{
var STRING_TYPE = undefined;
function MCObstacles(l_sType)
{
super();
_global.C.addObstacle(this,l_sType);
this.bActive = false;
this.Etat = "Idle";
this.gotoAndStop("Idle");
this.onEnterFrame = function()
{
this.EnterFrame();
};
}
function activate()
{
this.bActive = true;
}
function deactivate()
{
this.bActive = false;
}
function getType()
{
return this.STRING_TYPE;
}
function getActive()
{
return this.bActive;
}
function EnterFrame()
{
this[this.Etat]();
}
}